﻿<!DOCTYPE HTML>
<html>
<head>
   <title>StampExe method<br/>
function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;</title>
   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
   <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1, minimum-scale=1" />
   <meta name="generator" content="Help &amp; Manual" />
   <meta name="keywords" content="StampExe" />
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta http-equiv="content-language" content="en-us" />
   <meta name="description" content="StampExe marks the executable program with its size and a CRC value.&nbsp;" />
   <meta http-equiv="Content-Style-Type" content="text/css" />
   <link type="text/css" href="default.css" rel="stylesheet" />
   <link id="tabscheme" type="text/css" href="hm_topic.css" rel="stylesheet" />   
<style type="text/css">
/* No header topics */

/* Breadcrumb trail */
p#breadcrumbs {
font-family: Verdana, Tahoma, Helvetica, Sans-Serif;   padding: 2px 0 1px 2px;
   margin: 0;
   font-size: 8pt; 
   color: #999;
   }   
p#breadcrumbs a { color: #999; text-decoration: none;}
p#breadcrumbs a:visited {color: #999;}
p#breadcrumbs a:hover { color: #333; border-bottom: 1px dotted #333; }

/* Search hightlight color */
span.highlight {background-color: #ffff40;}
</style>
<script type="text/javascript">
var hmHeaderTopic = true;

</script> 
<!--[if IE 9]>
<link id="iesvgcss" rel="stylesheet" type="text/css" href="hm_webhelp_svg.css" />
<![endif]-->	
<script src="jquery.js"></script>
<script type="text/javascript" src="jquery.tools.min.js"></script>
<script type="text/javascript" src="jquery.scrollTo-min.js"></script>
<script type="text/javascript"> 
// General topic variables
var tVars = {
   hmHelpPage: "index.html",
   nextP: "",
   prevP: "",
   currP: "togprotectexe_stampexe.html",
   descr: "StampExe marks the executable program with its size and a CRC value.&nbsp;",
   keys: "StampExe",
   defP: "onguard_contents.html",
   mailUrl: "",
   mailUrlQuery: "",
   projectTitle: "OnGuard Help",
   titleP: "StampExe method<br/>
function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;",
   mailsubject: "Feedback on: OnGuard Help - StampExe method function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;",
   sharesubject: "OnGuard Help - StampExe method function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;",
   simplesubject: "Documentation%20Feedback",
   mailid: "TOgProtectExe.StampExe",
   mailpath: "Files &gt; OgReg /",
   mailbody: "Dear Support Staff,",
   fbtype: false,
   header: true,
   background: "spacer.gif",
   tablesReady: false,
   togglesReady: false,
   webRedirect: true,
   topicTitleBar: true,
   titleBarContent: "topic",
   printFooter: true,
   zoomTip: "Click to view full size image",
   autoPrint: true,
   printButton: "Print",
   printButtonTip: "Print the current topic"
   }
// Popup configuration
 var hmpBShadow = true;
 var hmPopSmallDim = 500;
 var hmPopKillVideo = true;
 // AutoTOC variables
 var hmatocvars = {
   atoc_show: true,
   atoc_title: "Contents",
   atoc_tip: "Jump to:&nbsp;",
   atoc_minHeaders: 3,
   atoc_btntip_off: "No contents entries on this page",
   atoc_btntip_on: "Display/hide topic directory",
   atoc_toptip: "Jump to top of page",
   atoc_top: "Scroll to Top of Page",
   atoc_bg: "#f6f6f6",
   atoc_border: "silver",
   atoc_linkcolor: "#444",
   atoc_linklimit: 45,
   atoc_hovercolor: "#000",
   atoc_hoverbgcolor: "#e0e0e0"
}
// Sortable tables
var sortVars = {
   europeandate: false,
   germanNumbers: false,
   imagePath: "",
   image_up: "arrow-up.gif",
   image_down: "arrow-down.gif",
   image_empty: "arrow-empty.gif",
   image_none: "arrow-none.gif",
   sort_tip: "Click to sort on this column",
   umlauts: "false"
   }

</script>


<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
<script type="text/javascript" src="hmtopic.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "togprotectexe_stampexe.html");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>
<!-- Help & Manual Premium Pack templates by Tim Green, Copyright (c) 2011-2013, All Rights Reserved -->
<!--ZOOMSTOP-->



<ul id="topictabs" class="tabs">
<li id="indextab" class="hmtabs"><a href="#" id="indextablink" class="current"><span>StampExe method<br/>
function TOgProtectExe.StampExe (const FileName : string ; EraseMarker : Boolean) : Boolean;</span></a></li>
</ul>
<div id="hmbox">
<div id="hmheader">
<div id="hmheadercontents">
<p id="breadcrumbs" class="sync-toc">
<b><span class="sync-toc"><a rel="nofollow" class="sync-toc-link" href="index.html?togprotectexe_stampexe.html" target="_top">&lt;&lt;&nbsp;Click here to display Table of Contents&nbsp;&gt;&gt;</a>&nbsp;&nbsp;</span></b></p> 
<p style="margin: 0px 0px 8px 0px;"><span style="font-size: 12pt; font-weight: bold; color: #0000ff;">StampExe method</span></p>
<p style="margin: 0px 0px 8px 0px;"><span style="font-weight: bold; color: #010100;">function</span><span style="color: #010100;"> <a href="togprotectexe_component.html" class="topiclink">TOgProtectExe</a>.StampExe (const FileName : </span><span style="font-weight: bold; color: #010100;">string</span><span style="color: #010100;"> ; EraseMarker : Boolean) : Boolean;</span></p>

</div>
<div id="atocIcon" class="navdivs">
<img class="navicon" id="hmAtocLink" src="contents_off.png" alt="No contents entries on this page" title="No contents entries on this page" />
<br /><span>Contents</span>
</div>
</div>
<div id="autoTocWrapper" class="topicmenu"></div>
<div id="idcontent">
<div id="unclicker"></div>
<!--ZOOMRESTART-->
<p style="margin: 8px 0px 8px 0px;"><img src="_bm1.png" width="11" height="12" alt="_bm1" style="border:none" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #010100;">StampExe marks the executable program with its size and a CRC value. </span></p>
<p style="margin: 0px 0px 8px 0px;"><span style="color: #010100;">StampExe searches for a special marker that is used to mark the record where the size and CRC value are stored, calculates the executable’s size and CRC, and writes that information back to the record. If EraseMarker is True, the special marker used to locate the record is erased.</span></p>
<p style="margin: 0px 0px 8px 0px;"><span style="color: #010100;">This method is not used by the TOgProtectExe component. It is provided so that you can use it to stamp the application you want to protect. You can write a simple application that uses StampExe to stamp the application you want to protect. Or you can use the STAMPEXE example project (which uses the StampExe method) to stamp the application you want to protect.</span></p>
<p style="margin: 0px 0px 8px 0px;"><span style="color: #010100;">See also: <a href="togprotectexe_unstampexe.html" class="topiclink">UnStampExe</a></span></p>

<!--ZOOMSTOP-->


</div> <!-- idcontent -->
</div><!-- hmbox --> 
</body>
</html>
